package hcn.protocol.ods.inpatientServicesXML;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * @Author:FangZhiyi
 * @Description 获取住院患者列表XML出参
 * @Data Created in 2020/11/14 14:27
 * @Moddified By:
 */
@XmlRootElement(name = "Data")
public class ListPatientXMLResp implements Serializable {

    private List<PatientInfo> RequestLists;

    @XmlElementWrapper(name = "RequestLists")
    @XmlElement(name = "RequestList")
    public List<PatientInfo> getRequestLists() {
        return RequestLists;
    }

    public void setRequestLists(List<PatientInfo> requestLists) {
        RequestLists = requestLists;
    }

    @XmlAccessorType(XmlAccessType.FIELD)
    public static class PatientInfo{
        //住院号
        private String	VisitId;
        //住院号码
        private String HospizationId;
        //患者编号，在 his 中的唯一标识
        private String SourcePatientId;
        //床号
        private String SickbedId;
        //姓名
        private String Name;
       // 性别
        private String Sex;
        //年龄
        private String Age;
        //入院日期
        private String AdmissionDateTime;
        //费别（病人性质）
        private String PatientProperties;
        //诊断
        private String DiagnoseCode;
        //入院科室
        private String VisitDeptId;
        //主治医生
        private String ResponsibilityDoctorId;
        //责任护士
        private String	ResponsibilityNurseId;
        //欠费金额
        private String ArrearsCost;
        //是否危急（0-否/1-是）
        private String	IsCrisis;
        //是否欠费（0-否/1-是）
        private String IsArrears;
        //是否过敏（0-否/1-是）
        private String	IsAllergy;
        //过敏情况
        private String	AllergyCondition;

        public String getVisitId() {
            return VisitId;
        }

        public void setVisitId(String visitId) {
            VisitId = visitId;
        }

        public String getHospizationId() {
            return HospizationId;
        }

        public void setHospizationId(String hospizationId) {
            HospizationId = hospizationId;
        }

        public String getSourcePatientId() {
            return SourcePatientId;
        }

        public void setSourcePatientId(String sourcePatientId) {
            SourcePatientId = sourcePatientId;
        }

        public String getSickbedId() {
            return SickbedId;
        }

        public void setSickbedId(String sickbedId) {
            SickbedId = sickbedId;
        }

        public String getName() {
            return Name;
        }

        public void setName(String name) {
            Name = name;
        }

        public String getSex() {
            return Sex;
        }

        public void setSex(String sex) {
            Sex = sex;
        }

        public String getAge() {
            return Age;
        }

        public void setAge(String age) {
            Age = age;
        }

        public String getAdmissionDateTime() {
            return AdmissionDateTime;
        }

        public void setAdmissionDateTime(String admissionDateTime) {
            AdmissionDateTime = admissionDateTime;
        }

        public String getPatientProperties() {
            return PatientProperties;
        }

        public void setPatientProperties(String patientProperties) {
            PatientProperties = patientProperties;
        }

        public String getDiagnoseCode() {
            return DiagnoseCode;
        }

        public void setDiagnoseCode(String diagnoseCode) {
            DiagnoseCode = diagnoseCode;
        }

        public String getVisitDeptId() {
            return VisitDeptId;
        }

        public void setVisitDeptId(String visitDeptId) {
            VisitDeptId = visitDeptId;
        }

        public String getResponsibilityDoctorId() {
            return ResponsibilityDoctorId;
        }

        public void setResponsibilityDoctorId(String responsibilityDoctorId) {
            ResponsibilityDoctorId = responsibilityDoctorId;
        }

        public String getResponsibilityNurseId() {
            return ResponsibilityNurseId;
        }

        public void setResponsibilityNurseId(String responsibilityNurseId) {
            ResponsibilityNurseId = responsibilityNurseId;
        }

        public String getArrearsCost() {
            return ArrearsCost;
        }

        public void setArrearsCost(String arrearsCost) {
            ArrearsCost = arrearsCost;
        }

        public String getIsCrisis() {
            return IsCrisis;
        }

        public void setIsCrisis(String isCrisis) {
            IsCrisis = isCrisis;
        }

        public String getIsArrears() {
            return IsArrears;
        }

        public void setIsArrears(String isArrears) {
            IsArrears = isArrears;
        }

        public String getIsAllergy() {
            return IsAllergy;
        }

        public void setIsAllergy(String isAllergy) {
            IsAllergy = isAllergy;
        }

        public String getAllergyCondition() {
            return AllergyCondition;
        }

        public void setAllergyCondition(String allergyCondition) {
            AllergyCondition = allergyCondition;
        }
    }
}
